<div class="copyrights">
    <div class="row">
        
            <div class="footer-left two_thirds first fit">
                <div style="text-align: left;">{if $first_item != 0}{$first_item->name}{/if}
                </div>
            </div>
            <div class="footer-right one_third fit last"> 
                <div style="text-align: right;">                
            {foreach name=links from=$links item=link}
            {math equation="x-1" x=$link->rank assign=prev}
            {math equation="x+1" x=$link->rank assign=next}
                <a href="{$link->url}">{$link->name}</a> {if !$smarty.foreach.links.last}|{/if}
            {/foreach}             
                </div>                
            </div>
       
    </div>
    {permissions level=$smarty.const.UILEVEL_NORMAL}
    {if $permissions.create == 1}
    <div class="actions" style="margin: 10px 0px 10px 15px; "> 
        <a class="add" href="{link action=manage}">{$_TR.manage_links}</a>
    </div> 
    {/if}
    {/permissions}
</div>